package com.jackson.springevent.event;


import org.springframework.context.ApplicationEvent;

/**
 * 功能描述
 *
 */
public class CustomEvent extends ApplicationEvent {

    private String message;

    public CustomEvent(Object source, String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

}
